package com.dkd.quartz.task;

import org.springframework.stereotype.Component;

import java.sql.Time;
import java.util.Date;
@Component("myTask")
public class MyTask {
//    public static void main(String[] args) {
//        System.out.printf("系统输出时间："+ new Date());
//    }
    public  void showTime(){
        System.out.printf("系统输出时间："+ new Date());
    }

}
